#include"preCmpH.h"
#include"UIFontChar.h"

BEGIN_NAMESPACE(ui_manager)
BEGIN_NAMESPACE(ui_fonts)

UIFontChar::UIFontChar()
: pos_()
, size_()
,buffer_(null)
{

}
UIFontChar::UIFontChar(const UIFontChar& f_char)
{
	pos_ = f_char.GetPos();
	size_ = f_char.GetSize();
	buffer_ = f_char.GetBuffer();
}
UIFontChar& UIFontChar::operator= (const UIFontChar& f_char)
{
	if(this == &f_char){
		return *this;
	}
	pos_ = f_char.GetPos();
	size_ = f_char.GetSize();
	buffer_ = f_char.GetBuffer();
	return *this;
}
UIFontChar::~UIFontChar()
{
	// DO NOT DELETE buffer_
}

END_NAMESPACE // ui fonts
END_NAMESPACE // ui manager